/**
 * 学生类
 * @author Lenovo
 *
 */
public class Student {
	String name;
	Score score;
	
	/**
	 * 显示输出成绩信息
	 */
	public void getResult() {
		if (null == score) {
			System.out.println(name + "目前无成绩");
		}else {
			System.out.println(name + "考试的科目是："+ score.course 
					+ "考试的成绩是:" + score.grade);
		}
		
	}
}
